export interface PreOnboardingApplication {
  id: string
  merchantName: string
  contactPerson: string
  contactPhone: string
  contactEmail: string
  businessType: string
  registeredAddress: string
  businessLicense: string
  applicationDate: string
  status: 'pending' | 'reviewing' | 'approved' | 'rejected' | 'incomplete'
  reviewDate?: string
  reviewer?: string
  rejectReason?: string
  documents: {
    businessLicense: boolean
    idCard: boolean
    bankAccount: boolean
    taxRegistration: boolean
    organizationCode: boolean
  }
  notes?: string
}

// 模拟数据
export const preOnboardingData: PreOnboardingApplication[] = [
  {
    id: 'PRE20250101001',
    merchantName: '智慧零售有限公司',
    contactPerson: '张经理',
    contactPhone: '13800138001',
    contactEmail: 'zhang@smartretail.com',
    businessType: '零售业',
    registeredAddress: '北京市朝阳区建国路88号',
    businessLicense: '91110000MA001234X0',
    applicationDate: '2025-01-15 10:30:00',
    status: 'pending',
    documents: {
      businessLicense: true,
      idCard: true,
      bankAccount: true,
      taxRegistration: false,
      organizationCode: true
    },
    notes: '缺少税务登记证'
  },
  {
    id: 'PRE20250101002',
    merchantName: '云端科技股份有限公司',
    contactPerson: '李总监',
    contactPhone: '13900139002',
    contactEmail: 'li@cloudtech.com',
    businessType: '软件服务',
    registeredAddress: '上海市浦东新区张江路123号',
    businessLicense: '91310000MA002345X1',
    applicationDate: '2025-01-14 14:20:00',
    status: 'reviewing',
    reviewDate: '2025-01-15 09:00:00',
    reviewer: '审核员001',
    documents: {
      businessLicense: true,
      idCard: true,
      bankAccount: true,
      taxRegistration: true,
      organizationCode: true
    }
  },
  {
    id: 'PRE20250101003',
    merchantName: '美食天下餐饮管理有限公司',
    contactPerson: '王店长',
    contactPhone: '13700137003',
    contactEmail: 'wang@foodworld.com',
    businessType: '餐饮服务',
    registeredAddress: '广州市天河区珠江路456号',
    businessLicense: '91440000MA003456X2',
    applicationDate: '2025-01-13 16:45:00',
    status: 'approved',
    reviewDate: '2025-01-14 11:30:00',
    reviewer: '审核员002',
    documents: {
      businessLicense: true,
      idCard: true,
      bankAccount: true,
      taxRegistration: true,
      organizationCode: true
    },
    notes: '已通过初步审核，可进入下一步渠道进件'
  },
  {
    id: 'PRE20250101004',
    merchantName: '时尚服装贸易公司',
    contactPerson: '赵经理',
    contactPhone: '13600136004',
    contactEmail: 'zhao@fashion.com',
    businessType: '服装贸易',
    registeredAddress: '深圳市福田区华强北路789号',
    businessLicense: '91440300MA004567X3',
    applicationDate: '2025-01-12 11:15:00',
    status: 'rejected',
    reviewDate: '2025-01-13 15:20:00',
    reviewer: '审核员003',
    rejectReason: '营业执照信息与实际经营不符',
    documents: {
      businessLicense: true,
      idCard: true,
      bankAccount: false,
      taxRegistration: true,
      organizationCode: true
    }
  },
  {
    id: 'PRE20250101005',
    merchantName: '绿色农产品合作社',
    contactPerson: '孙主任',
    contactPhone: '13500135005',
    contactEmail: 'sun@greenagri.com',
    businessType: '农产品销售',
    registeredAddress: '杭州市西湖区文一路321号',
    businessLicense: '91330000MA005678X4',
    applicationDate: '2025-01-11 09:25:00',
    status: 'incomplete',
    documents: {
      businessLicense: true,
      idCard: false,
      bankAccount: false,
      taxRegistration: false,
      organizationCode: false
    },
    notes: '材料不完整，需补充相关证件'
  }
]

export const businessTypes = [
  '零售业',
  '餐饮服务',
  '软件服务',
  '电子商务',
  '制造业',
  '贸易公司',
  '物流运输',
  '金融服务',
  '教育培训',
  '医疗健康',
  '农产品销售',
  '其他'
]

export const statusOptions = [
  { label: '待处理', value: 'pending', color: 'default' },
  { label: '审核中', value: 'reviewing', color: 'processing' },
  { label: '已通过', value: 'approved', color: 'success' },
  { label: '已拒绝', value: 'rejected', color: 'error' },
  { label: '材料不全', value: 'incomplete', color: 'warning' }
]